package pers.emok.springcloud.serviceprovider.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
//@ConfigurationProperties(prefix = "demo")
public class DemoProperties {

    private static String title;

    private static String lastver;

    public static String getTitle() {
        return title;
    }

    public static void setTitle(String title) {
        DemoProperties.title = title;
    }

    public static String getLastver() {
        return lastver;
    }

    public static void setLastver(String lastver) {
        DemoProperties.lastver = lastver;
    }
}
